//引入核心库
import Vue from 'vue'
// 引入Vuex
import Vuex from 'vuex'
// 使用vuex插件
Vue.use(Vuex)
import UserOption from './userStory'
import loginOption from './Login'
import ObjectAdd from './ObjectAdd'
import Refresh from './Refresh'
import ItemAddUser from './ItemAddUser'
//创建并暴露store
export default new Vuex.Store({
    modules: {
        UserStory: UserOption,
        LoginData: loginOption,
        ObjectAdd: ObjectAdd,
        Refresh: Refresh,
        ItemAddUser
    }
})